package com.fjb.controller.help;


import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.fjb.common.entity.HttpCode;
import com.fjb.common.entity.JsonPagesResult;
import com.fjb.common.entity.JsonTotalResult;
import com.fjb.common.entity.PageQuery;
import com.fjb.controller.base.BaseController;
import com.fjb.pojo.help.SysHelpInfo;
import com.fjb.service.help.SysHelpInfoService;

import java.util.List;

import javax.servlet.http.HttpServletRequest;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

/**
 * <p>
 * 帮助中心 前端控制器
 * </p>
 *
 * @author hemiao
 * @since 2020-02-25
 */
@Controller
@RequestMapping("/helpInfo")
public class SysHelpInfoController extends BaseController{

	@Autowired
	private SysHelpInfoService sysHelpInfoService;
	
	@RequestMapping(value="/selectPageList")
	@ResponseBody 
	public JsonPagesResult<List<SysHelpInfo>> selectPageList(HttpServletRequest request,PageQuery pageQuery){
		return sysHelpInfoService.selectPageList(pageQuery);
	}
	
}
